219
a:4:{s:8:"template";a:2:{s:56:"E:/xampp/htdocs/rbac/Admin/Tpl/Authority/accessList.html";b:1;s:29:"../Common/head_authority.html";b:1;}s:9:"timestamp";i:1522590159;s:7:"expires";i:1522590162;s:13:"cache_serials";a:0:{}}<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>权限</title>
    <link href="http://localhost/rbac/Admin/Tpl/Public/css/bootstrap.min.css" type="text/css" rel="stylesheet"/>
    <link href="http://localhost/rbac/Admin/Tpl/Public/css/admin-authority.css" type="text/css" rel="stylesheet"/>
    <script src="http://localhost/rbac/Admin/Tpl/Public/js/jquery-3.2.1.min.js"></script>
    <script src="http://localhost/rbac/Admin/Tpl/Public/js/bootstrap.min.js"></script>
</head><body>
<div class="container-fluid">
    <div class="row" style="margin: 20px 0px;">
        <b>权限列表</b>
        <a href="http://localhost/rbac/admin.php?c=Authority&m=addAccess" style="float: right;">添加权限</a>
    </div>
    <table class="table table-hover">
        <thead>
        <tr>
            <th>权限</th>
            <th>图标</th>
            <th>Urls</th>
            <th>操作</th>
        </tr>
        </thead>
                <tr>
            <td class="col-sm-2 col-md-2 col-lg-2">权限</td>
            <td class="col-sm-2 col-md-2 col-lg-2">
                                <span class="glyphicon  glyphicon-lock"></span>
                            </td>
            <td class="col-sm-4 col-md-5 col-lg-5" title="http://localhost/rbac/admin.php?c=&m=" style="overflow: hidden;text-overflow: ellipsis;white-space: nowrap">
                                            </td>
            <td class="col-sm-3 col-md-3 col-lg-3">
                <a href="http://localhost/rbac/admin.php?c=Authority&m=editAccess&id=8" class="btn btn-success btn-xs">编辑</a>
                <button type="button" onclick="access_del('8')" class="btn btn-danger btn-xs">删除</button>
            </td>
        </tr>
                <tr>
            <td class="col-sm-2 col-md-2 col-lg-2">文章</td>
            <td class="col-sm-2 col-md-2 col-lg-2">
                                <span class="glyphicon glyphicon-list-alt"></span>
                            </td>
            <td class="col-sm-4 col-md-5 col-lg-5" title="http://localhost/rbac/admin.php?c=&m=" style="overflow: hidden;text-overflow: ellipsis;white-space: nowrap">
                                            </td>
            <td class="col-sm-3 col-md-3 col-lg-3">
                <a href="http://localhost/rbac/admin.php?c=Authority&m=editAccess&id=23" class="btn btn-success btn-xs">编辑</a>
                <button type="button" onclick="access_del('23')" class="btn btn-danger btn-xs">删除</button>
            </td>
        </tr>
                <tr>
            <td class="col-sm-2 col-md-2 col-lg-2">栏目</td>
            <td class="col-sm-2 col-md-2 col-lg-2">
                                <span class="glyphicon glyphicon-list"></span>
                            </td>
            <td class="col-sm-4 col-md-5 col-lg-5" title="http://localhost/rbac/admin.php?c=&m=" style="overflow: hidden;text-overflow: ellipsis;white-space: nowrap">
                                            </td>
            <td class="col-sm-3 col-md-3 col-lg-3">
                <a href="http://localhost/rbac/admin.php?c=Authority&m=editAccess&id=20" class="btn btn-success btn-xs">编辑</a>
                <button type="button" onclick="access_del('20')" class="btn btn-danger btn-xs">删除</button>
            </td>
        </tr>
                <tr>
            <td class="col-sm-2 col-md-2 col-lg-2">添加文章</td>
            <td class="col-sm-2 col-md-2 col-lg-2">
                            </td>
            <td class="col-sm-4 col-md-5 col-lg-5" title="http://localhost/rbac/admin.php?c=Article&m=add" style="overflow: hidden;text-overflow: ellipsis;white-space: nowrap">
                                http://localhost/rbac/admin.php?c=Article&m=add
                            </td>
            <td class="col-sm-3 col-md-3 col-lg-3">
                <a href="http://localhost/rbac/admin.php?c=Authority&m=editAccess&id=25" class="btn btn-success btn-xs">编辑</a>
                <button type="button" onclick="access_del('25')" class="btn btn-danger btn-xs">删除</button>
            </td>
        </tr>
                <tr>
            <td class="col-sm-2 col-md-2 col-lg-2">文章管理</td>
            <td class="col-sm-2 col-md-2 col-lg-2">
                            </td>
            <td class="col-sm-4 col-md-5 col-lg-5" title="http://localhost/rbac/admin.php?c=Article&m=index" style="overflow: hidden;text-overflow: ellipsis;white-space: nowrap">
                                http://localhost/rbac/admin.php?c=Article&m=index
                            </td>
            <td class="col-sm-3 col-md-3 col-lg-3">
                <a href="http://localhost/rbac/admin.php?c=Authority&m=editAccess&id=24" class="btn btn-success btn-xs">编辑</a>
                <button type="button" onclick="access_del('24')" class="btn btn-danger btn-xs">删除</button>
            </td>
        </tr>
                <tr>
            <td class="col-sm-2 col-md-2 col-lg-2">添加栏目</td>
            <td class="col-sm-2 col-md-2 col-lg-2">
                            </td>
            <td class="col-sm-4 col-md-5 col-lg-5" title="http://localhost/rbac/admin.php?c=Category&m=add" style="overflow: hidden;text-overflow: ellipsis;white-space: nowrap">
                                http://localhost/rbac/admin.php?c=Category&m=add
                            </td>
            <td class="col-sm-3 col-md-3 col-lg-3">
                <a href="http://localhost/rbac/admin.php?c=Authority&m=editAccess&id=28" class="btn btn-success btn-xs">编辑</a>
                <button type="button" onclick="access_del('28')" class="btn btn-danger btn-xs">删除</button>
            </td>
        </tr>
                <tr>
            <td class="col-sm-2 col-md-2 col-lg-2">权限管理</td>
            <td class="col-sm-2 col-md-2 col-lg-2">
                            </td>
            <td class="col-sm-4 col-md-5 col-lg-5" title="http://localhost/rbac/admin.php?c=Authority&m=accessList" style="overflow: hidden;text-overflow: ellipsis;white-space: nowrap">
                                http://localhost/rbac/admin.php?c=Authority&m=accessList
                            </td>
            <td class="col-sm-3 col-md-3 col-lg-3">
                <a href="http://localhost/rbac/admin.php?c=Authority&m=editAccess&id=11" class="btn btn-success btn-xs">编辑</a>
                <button type="button" onclick="access_del('11')" class="btn btn-danger btn-xs">删除</button>
            </td>
        </tr>
                <tr>
            <td class="col-sm-2 col-md-2 col-lg-2">角色管理</td>
            <td class="col-sm-2 col-md-2 col-lg-2">
                            </td>
            <td class="col-sm-4 col-md-5 col-lg-5" title="http://localhost/rbac/admin.php?c=Authority&m=roleList" style="overflow: hidden;text-overflow: ellipsis;white-space: nowrap">
                                http://localhost/rbac/admin.php?c=Authority&m=roleList
                            </td>
            <td class="col-sm-3 col-md-3 col-lg-3">
                <a href="http://localhost/rbac/admin.php?c=Authority&m=editAccess&id=10" class="btn btn-success btn-xs">编辑</a>
                <button type="button" onclick="access_del('10')" class="btn btn-danger btn-xs">删除</button>
            </td>
        </tr>
                <tr>
            <td class="col-sm-2 col-md-2 col-lg-2">用户管理</td>
            <td class="col-sm-2 col-md-2 col-lg-2">
                            </td>
            <td class="col-sm-4 col-md-5 col-lg-5" title="http://localhost/rbac/admin.php?c=Authority&m=userList" style="overflow: hidden;text-overflow: ellipsis;white-space: nowrap">
                                http://localhost/rbac/admin.php?c=Authority&m=userList
                            </td>
            <td class="col-sm-3 col-md-3 col-lg-3">
                <a href="http://localhost/rbac/admin.php?c=Authority&m=editAccess&id=9" class="btn btn-success btn-xs">编辑</a>
                <button type="button" onclick="access_del('9')" class="btn btn-danger btn-xs">删除</button>
            </td>
        </tr>
                <tr>
            <td class="col-sm-2 col-md-2 col-lg-2">栏目管理</td>
            <td class="col-sm-2 col-md-2 col-lg-2">
                            </td>
            <td class="col-sm-4 col-md-5 col-lg-5" title="http://localhost/rbac/admin.php?c=Category&m=index" style="overflow: hidden;text-overflow: ellipsis;white-space: nowrap">
                                http://localhost/rbac/admin.php?c=Category&m=index
                            </td>
            <td class="col-sm-3 col-md-3 col-lg-3">
                <a href="http://localhost/rbac/admin.php?c=Authority&m=editAccess&id=27" class="btn btn-success btn-xs">编辑</a>
                <button type="button" onclick="access_del('27')" class="btn btn-danger btn-xs">删除</button>
            </td>
        </tr>
            </table>
    <div class="col-sm-12 col-md-12 col-lg-12 pagination">
        <a href="#" class="pagination-info">共条<b>22</b>记录，本页显示<b>1-10</b></a>&nbsp;
        <a href="#" class="pagination-info">1/3</a>&nbsp;
        <a href="http://localhost/rbac/admin.php" class="pagination-link">首页</a>
        <a href="http://localhost/rbac/admin.php?c=Authority&m=accessList&page=0" class="pagination-link">上一页</a>
        <a href="http://localhost/rbac/admin.php?c=Authority&m=accessList&page=2" class="pagination-link">下一页</a>
        <a href="http://localhost/rbac/admin.php?c=Authority&m=accessList&page=3" class="pagination-link">尾页</a>&nbsp;&nbsp;
        <input type="text" class="jumpPage" id="jumpPage"/>
        <a href="#" class="pagination-link" id="pagination-jump">跳转</a>
    </div>
</div>

<script type="text/javascript">
    $('#pagination-jump').click(function(){
        var page = $('#jumpPage').val();
        location.href = './index.php?c=Authority&m=accessList&page='+page;
    })
    function access_del(id){
        if(confirm("确定删除该权限吗？")){
            location.href = "./admin.php?c=Authority&m=accessDel&id="+id;
        }
    }
</script>

</body>
</html>